<title-bar name="{{page.comment}}">
     <btn-bar> 
        {% for btn in page.title_bar_btn %}
        <a ui-sref="app.{{module}}.{{entitySubName}}.{{btn.pageName}}">{{btn.name}}</a> 
        {% endfor %}
    </btn-bar>
</title-Bar>
<div-wrapper type="form">
        <div >
            <conow-tabs>
                <conow-tabs-titles theme="listMenu">
                    <conow-tabs-titles-text title='{{comment}}列表' show='true'></conow-tabs-titles-text>
                    <conow-tabs-titles-text title='综合查询'></conow-tabs-titles-text>
                </conow-tabs-titles>
                <conow-tabs-content>
                    <conow-tabs-content-text>
                        <conow-task-list theme="listMenu" no-search="true" processing-params=""
                                         init-param="initParam2"  url="service2/{{entitySubName}}!queryByParams" >
                            <conow-task-list-tpl title="草稿"
                                                 item-name="item" is-open="true" type="false" pageSize="5"  filter-key="STATE=TEMP,STATE=REVOKE,STATE=BACK"
                                                 pageSize="bg-danger">
                                    {% set cls = cycler(true,false,false,true) %}
                                    {% for column in  page.columns %}
                                        {% if cls.next() %}
                                    <div class="fbox"   ui-sref="app.{{module}}.{{entitySubName}}.{{page.tempLink.pageName}}{% if page.tempLink.params and page.tempLink.params.length>0 %}({ {% for param in page.tempLink.params %}{{param}}:item.{{param}}{% if not loop.last %},{% endif %}{% endfor %} }){% endif %}">
                                        {% endif %}
                                         <div class="col">
                                            <span class="text-dark" ng-bind="item.{{column.formatName}}|| '无'"></span>
                                        </div>
                                        {% if cls.next() %}
                                     </div>
                                        {% endif %}
                                    {% endfor %}
                            </conow-task-list-tpl>
                            <conow-task-list-tpl title="审批中"
                                                 item-name="item" is-open="true" type="false" pageSize="5" filter-key="STATE=PAUTH"
                                                 pageSize="bg-danger">
                                    {% set cls = cycler(true,false,false,true) %}
                                    {% for column in  page.columns %}
                                        {% if cls.next() %}
                                    <div class="fbox"  ui-sref="app.{{module}}.{{entitySubName}}.{{page.pauthLink.pageName}}{% if page.pauthLink.params and page.pauthLink.params.length>0 %}({ {% for param in page.pauthLink.params %}{{param}}:item.{{param}}{% if not loop.last %},{% endif %}{% endfor %} }){% endif %}">
                                        {% endif %}
                                         <div class="col">
                                            <span class="text-dark" ng-bind="item.{{column.formatName}}|| '无'"></span>
                                        </div>
                                        {% if cls.next() %}
                                     </div>
                                        {% endif %}
                                    {% endfor %}


                            </conow-task-list-tpl>
                        </conow-task-list>
                    </conow-tabs-content-text>
                    <conow-tabs-content-text>
                        
                        <conow-content-list no-data-tip="暂时没有{{comment}}"  class="contentList-custom"
                                                search-tip="请输入标题..." linkurl='service2/{{entitySubName}}!queryPageByParams' search-obj="vm.param"  advsearch-config="filterOptions">
                                <conow-list-content>
                                    <div class="fbox v" ui-sref="app.{{module}}.{{entitySubName}}.{{page.listLink.pageName}}{% if page.listLink.params and page.listLink.params.length>0 %}({ {% for param in page.listLink.params %}{{param}}:item.{{param}}{% if not loop.last %},{% endif %}{% endfor %} }){% endif %}">
                                        {% set cls = cycler(true,false,false,true) %}
                                        {% for column in  page.columns %}
                                            {% if cls.next() %}
                                        <div class="fbox">
                                            {% endif %}
                                             <div class="col">
                                                <span class="text-dark" ng-bind="item.{{column.formatName}}|| '无'"></span>
                                            </div>
                                            {% if cls.next() %}
                                         </div>
                                            {% endif %}
                                        {% endfor %}
                                    </div>
                                </conow-list-content>
                            </conow-content-list>

                    </conow-tabs-content-text>
                </conow-tabs-content>
            </conow-tabs>


        </div>
</div-wrapper>




